/**
 * Copyright 2006 Van de Wijgerd B.V. All rights reserved.
 */
package com.googlecode.friendfeed;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Profile implements Serializable {
    private String id;
    private String name;
    private String nickname;
    private String profileUrl;
    private List<Service> services;
    private List<Subscription> subscriptions;
    private List<Room> rooms;
    private String json;

     private static Map<String,Class> classMap = new HashMap<String,Class>();
    static {
        classMap.put("services",Service.class);
        classMap.put("subscriptions",Subscription.class);
        classMap.put("rooms",Room.class);
    }

    public static Map<String, Class> getClassMap() {
        return classMap;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getProfileUrl() {
        return profileUrl;
    }

    public void setProfileUrl(String profileUrl) {
        this.profileUrl = profileUrl;
    }

    public List<Service> getServices() {
        return services;
    }

    public void setServices(List<Service> services) {
        this.services = services;
    }

    public List<Subscription> getSubscriptions() {
        return subscriptions;
    }

    public void setSubscriptions(List<Subscription> subscriptions) {
        this.subscriptions = subscriptions;
    }

    public List<Room> getRooms() {
        return rooms;
    }

    public void setRooms(List<Room> rooms) {
        this.rooms = rooms;
    }

    public String getJson() {
        return json;
    }

    public void setJson(String json) {
        this.json = json;
    }
}
